<template>
  <div class="school">
    <h2 @click="showname">名称：{{ name }}</h2>
    <h2>地址：{{ age }}</h2>
   
  </div>
</template>

<script>
import {mixin} from '../mixin'
export default {
  name: "School",
  data () {
      return {
         name:'789',
        age:"456"
      }
  },
  mixins: [mixin]
};
</script>

<style>
.school {
  background-color: aqua;
}
</style>
